<UserControl x:Class="FluidKit.Samples.DragDrop.CrossApp.CrossApp"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             Height="300"
             Width="300"
             xmlns:local="clr-namespace:FluidKit.Samples"
             xmlns:DragDrop="clr-namespace:FluidKit.Helpers.DragDrop;assembly=FluidKit"
             xmlns:CrossApp="clr-namespace:FluidKit.Samples.DragDrop.CrossApp">
    <!-- Resources -->
    <UserControl.Resources>
        <CrossApp:CrossAppAdvisor x:Key="advisor" />
    </UserControl.Resources>

    <Grid>

        <WrapPanel Background="Blue"
                   DragDrop:DragDropManager.DragSourceAdvisor="{StaticResource advisor}"
                   DragDrop:DragDropManager.DropTargetAdvisor="{StaticResource advisor}">
            <Button x:Name="dropButton">Drag Me</Button>
        </WrapPanel>

    </Grid>
</UserControl>